package com.atguigu.cloud.entities;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author ViGrayThorn
 * @since 1.0.0
 * date 2025-09-01 12:46:22
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Schema(title = "支付交易表DTO")
public class PayDTO implements Serializable {
	private Integer id;

	@Schema(title = "支付流水号")
	private String payNo;

	@Schema(title = "订单流水号")
	private String orderNo;

	@Schema(title = "用户账号ID")
	private Integer userId;

	@Schema(title = "交易金额")
	private BigDecimal amount;
}
